<?php
include_once $_SERVER['DOCUMENT_ROOT']."/math-videos/configure.inc.php";
$valid_controller=true;
$username = $_SERVER['PHP_AUTH_USER'];
$password = $_SERVER['PHP_AUTH_PW'];
$action = $_SERVER['REQUEST_METHOD'];

if(isset($_REQUEST['assetID']) && $_REQUEST['assetID']!="")
{
  $assetID= $_REQUEST['assetID'];
  if(strtolower($action)=="post")
  {
		//echo "@@@@@@@@@@@@@@@<vR>";
    include "../modules/statistics_update.php";
  }
  else if(strtolower($action)=="delete")
  {
		//echo "##############<vR>";
    include "../modules/statistics_delete.php";
  }
  
}
else
{
  include '../modules/asset_get.php';
}
?>